@ECHO OFF

SET "IO_APP_NAME=demo_io
"
SET "CLUSTER_APP_NAME=demo_cluster"
SET "
MULTIBIN_NAME=demo.mpk"
SET "TRACEPOINT_PROVIDER=mytps"
SET "RAW_TRACES_FILENAME=raw_traces"

REM Compile the program

make traces

REM Activate the trace points provided by the trace-point provider "mytps"

k1-multibin-util -f %MULTIBIN_NAME% --enable-tracepoint "%TRACEPOINT_PROVIDER%/*" -a

REM Launch the acquisition of the traces and store the traces in the file RAW_TRACES_FILENAME

k1-trace-util --acquire=%RAW_TRACES_FILENAME% --clusters=ioddr0,node0